package com.yy.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "AIService")
public interface AIServiceClient {

    @PostMapping ("/api/ai/genChart")
    String getAnswer(@RequestParam String question);

}
